package com.boyuan.system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author ply
 * @date 2023/11/14 - 16:02
 */
@Controller
public class IndexController {

    @GetMapping("/")
    public String index1() {
        return "redirect:video";
    }

    @GetMapping("/index")
    public String index() {
        return "index";
    }

    @GetMapping("/demo")
    public String demo(){
        return "demo";
    }

    @GetMapping("/video")
    public String video(){
        return "video";
    }

    @GetMapping("/video1")
    public String video1(){
        return "video1";
    }

    @GetMapping("/video2")
    public String video2(){
        return "video2";
    }

    @GetMapping("/camera")
    public String camera(){
        return "/camera/camera";
    }

    @GetMapping("/camera/add")
    public String cameraAdd(){
        return "/camera/add";
    }

    @GetMapping("/camera/edit")
    public String cameraEdit(){
        return "/camera/edit";
    }

}
